<?php


require_once("inc.member.php");





$this_title=__("Exchange Rate");


$page_title=__("Exchange Rate");


$content_title=__("Exchange Rate");





$item_per_page=$vars["user_item_per_page"];







//#####LIST EWALLET HISTORY#####



for($i=0;$i<$this_page_total;$i++){


 $p=mysql_fetch_assoc($r);


 $his_row.="


 <tr class='row$k'>


  <td>".($i+1)."</td>


  <td>".nl2br($p["descr"])."</td>


  <td class='number'>".number_format(in_array($p['type'],array('c','credit'))? $p['amount'] : 0, 2)."</td>


  <td class='number'>".number_format(!in_array($p['type'],array('c','credit'))? $p['amount'] : 0, 2)."</td>


  <td>".nl2br($p["bal"])."</td>


  <td>".date($vars['date_format'], strtotime($p["cdate"]))."</td>


 </tr>";


 $k=1-$k;


}





//listing text


$listing_text=replace_tag(__("<%x%> <%title%> <%record%>."), array("<%x%>"=>"$total_record", "<%title%>"=>__($vars['owallet_title']), "<%record%>"=>$total_record>1? __("records") : __("record")));





//listing


$his_list=


"<h2>".$this_title."</h2>


<table class='pbl_table'>


 <tr class='pbl_header'>
  <td></td>
  <td>".__("Currency")."</td>
  <td>".__("Country")."</td>
  <td>".__("Buy")."</td>
  <td>".__("Sell")."</td>
  <td>".__("Withdrawal")."</td>
 </tr>
 <tr class='row0'>
  <td>1</td>
  <td>GBP - 英镑</td>
  <td>英国 United Kingdom</td>
  <td align='right'>1.00</td>
  <td align='right'>1.10</td>
  <td align='right'>1.00</td>
 </tr>
 <tr class='row1'>
  <td>2</td>
  <td>USD - 美元</td>
  <td>美国 United States</td>
  <td align='right'>1.48</td>
  <td align='right'>1.65</td>
  <td align='right'>1.48</td>
 </tr>
 <tr class='row0'>
  <td>3</td>
  <td>RMB - 人民币</td>
  <td>中国 China</td>
  <td align='right'>9.00</td>
  <td align='right'>10.10</td>
  <td align='right'>9.00</td>
 </tr>
 <tr class='row1'>
  <td>4</td>
  <td>MYR - 马币</td>
  <td>马来西亚 Malaysia</td>
  <td align='right'>4.90</td>
  <td align='right'>5.50</td>
  <td align='right'>4.90</td>
 </tr>
 <tr class='row0'>
  <td>5</td>
  <td>BND - 文莱元</td>
  <td>汶莱 Brunei</td>
  <td align='right'>1.95</td>
  <td align='right'>2.18</td>
  <td align='right'>1.95</td>
 </tr>
 <tr class='row1'>
  <td>6</td>
  <td>HKD - 港元</td>
  <td>香港 Hong Kong</td>
  <td align='right'>11.50</td>
  <td align='right'>12.80</td>
  <td align='right'>11.50</td>
 </tr>
 <tr class='row0'>
  <td>7</td>
  <td>IDR - 印尼卢比</td>
  <td>印尼 Indonesia</td>
  <td align='right'>18,124.00</td>
  <td align='right'>20,138.00</td>
  <td align='right'>18,124.00</td>
 </tr>
 <tr class='row1'>
  <td>8</td>
  <td>INR - 印度卢比</td>
  <td>印度 India</td>
  <td align='right'>93.00</td>
  <td align='right'>103.00</td>
  <td align='right'>93.00</td>
 </tr>
 <tr class='row0'>
  <td>9</td>
  <td>JPY - 日元</td>
  <td>日本 Japan</td>
  <td align='right'>152.00</td>
  <td align='right'>169.00</td>
  <td align='right'>152.00</td>
 </tr>
 <tr class='row1'>
  <td>10</td>
  <td>KHR - 瑞尔</td>
  <td>柬埔寨 Cambodia</td>
  <td align='right'>5,949.00</td>
  <td align='right'>6,610.00</td>
  <td align='right'>5,949.00</td>
 </tr>
 <tr class='row0'>
  <td>11</td>
  <td>KRW - 韩元</td>
  <td>韩国 South Korea</td>
  <td align='right'>1,614.00</td>
  <td align='right'>1,793.00</td>
  <td align='right'>1,614.00</td>
 </tr>
 <tr class='row1'>
  <td>12</td>
  <td>MNT - 蒙古图格里克</td>
  <td>蒙古 Mongolia</td>
  <td align='right'>2,542.00</td>
  <td align='right'>2,825.00</td>
  <td align='right'>2,542.00</td>
 </tr>
 <tr class='row0'>
  <td>13</td>
  <td>MOP - 澳门澳元</td>
  <td>澳门 Macau</td>
  <td align='right'>11.90</td>
  <td align='right'>13.20</td>
  <td align='right'>11.90</td>
 </tr>
 <tr class='row1'>
  <td>14</td>
  <td>PHP - 菲律宾比索</td>
  <td>菲律宾 Philippines</td>
  <td align='right'>67.40</td>
  <td align='right'>74.90</td>
  <td align='right'>67.40</td>
 </tr>
 <tr class='row0'>
  <td>15</td>
  <td>SGD - 新加坡元</td>
  <td>新加坡 Singapore</td>
  <td align='right'>1.95</td>
  <td align='right'>2.18</td>
  <td align='right'>1.95</td>
 </tr>
 <tr class='row1'>
  <td>16</td>
  <td>THB - 泰铢</td>
  <td>泰国 Thailand</td>
  <td align='right'>48.90</td>
  <td align='right'>54.30</td>
  <td align='right'>48.90</td>
 </tr>
 <tr class='row0'>
  <td>17</td>
  <td>TWD - 台币</td>
  <td>台湾 Taiwan</td>
  <td align='right'>45.00</td>
  <td align='right'>50.00</td>
  <td align='right'>45.00</td>
 </tr>
 <tr class='row1'>
  <td>18</td>
  <td>VND - 越南盾</td>
  <td>越南 Vietnam</td>
  <td align='right'>31,345.00</td>
  <td align='right'>34,828.00</td>
  <td align='right'>31,345.00</td>
 </tr>
 <tr class='row0'>
  <td>19</td>
  <td>AUD - 澳元</td>
  <td>澳洲 Australia</td>
  <td align='right'>1.55</td>
  <td align='right'>1.72</td>
  <td align='right'>1.55</td>
 </tr>
</table>


$nav_link";





//$content=$inc_wallet_select.$his_list;
$content=$his_list;

print format_member_page($content, $this_title, $content_title, $css . $inc_jvscript);


?>